import {
  get,
  post,
  get2,
  getFile,
  deleteFun
} from '../http/axios.js'
import {
  baseUrl
} from '../constant/index'

// 图片存储路径
// const IMG_BASE_URL = baseUrl + '/sys/common/static/'
const IMG_BASE_URL = 'https://dm-bmj.oss-cn-guangzhou.aliyuncs.com/'

const base = {
  baseUrl
}

// 获得创新型中小企业评估
export const getDeclareInnovate = (params) => post(`${base.baseUrl}/api/cms/cmsCompany/getInnovativeSmallToMediumCompanyEvaluation`, params)

// 获得专精特新中小企业评估
export const getDeclareSmall = (params) => post(`${base.baseUrl}/api/cms/cmsCompany/getSpecializedAndSpecialCompanyEvaluation`, params)

// 获得高新技术企业评估
export const getDeclareHigh = (data) => post(`${base.baseUrl}/api/cms/cmsCompany/getHighTechCompanyEvaluation`, data)

// 获得科技型中小企业评估
export const getDeclareScience = (data) => post(`${base.baseUrl}/api/cms/cmsCompany/getTechnologyCompanyEvaluation`, data)
